import request from '@/utils/request'
export function listAutoDeviceYearPlan(query) {
  return request({
    url: '/system/autoDeviceYearPlan/list',
    method: 'get',
    params: query
  })
}
export function autoDeviceYearPlanInfo(query) {
    return request({
      url: '/system/autoDeviceYearPlan/' + query,
      method: 'get',
    })
  }
  export function delcorrect(autoDeviceYearPlanIds) {
    return request({
      url: '/system/autoDeviceYearPlan/' + autoDeviceYearPlanIds,
      method: 'delete'
    })
  }
  export function autoDeviceYearPlanAdd(data) {
    return request({
      url: '/system/autoDeviceYearPlan',
      method: 'post',
      data: data
    })
  }
  export function autoDeviceYearPlanEdit(data) {
    return request({
      url: '/system/autoDeviceYearPlan',
      method: 'put',
      data: data
    })
  }